﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Runtime.Serialization;

namespace Test.DAL.Repositories.EntityFramework4
{
    
    
    /// <summary>
    ///This is a test class for AccountTest and is intended
    ///to contain all AccountTest Unit Tests
    ///</summary>
    [TestClass()]
    public class AccountTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


/// <summary>
///A test for Account Constructor
///</summary>
[TestMethod()]
public void AccountConstructorTest()
{
    Account target = new Account();
    Assert.Inconclusive("TODO: Implement code to verify target");
}

/// <summary>
///A test for ClearNavigationProperties
///</summary>
[TestMethod()]
[DeploymentItem("MoneyManagerNET.DAL.Repository.EF4.dll")]
public void ClearNavigationPropertiesTest()
{
    // Creation of the private accessor for 'Microsoft.VisualStudio.TestTools.TypesAndSymbols.Assembly' failed
    Assert.Inconclusive("Creation of the private accessor for \'Microsoft.VisualStudio.TestTools.TypesAndSy" +
            "mbols.Assembly\' failed");
}

/// <summary>
///A test for FixupCurrency
///</summary>
[TestMethod()]
[DeploymentItem("MoneyManagerNET.DAL.Repository.EF4.dll")]
public void FixupCurrencyTest()
{
    // Creation of the private accessor for 'Microsoft.VisualStudio.TestTools.TypesAndSymbols.Assembly' failed
    Assert.Inconclusive("Creation of the private accessor for \'Microsoft.VisualStudio.TestTools.TypesAndSy" +
            "mbols.Assembly\' failed");
}

/// <summary>
///A test for HandleObjectStateChanging
///</summary>
[TestMethod()]
[DeploymentItem("MoneyManagerNET.DAL.Repository.EF4.dll")]
public void HandleObjectStateChangingTest()
{
    // Creation of the private accessor for 'Microsoft.VisualStudio.TestTools.TypesAndSymbols.Assembly' failed
    Assert.Inconclusive("Creation of the private accessor for \'Microsoft.VisualStudio.TestTools.TypesAndSy" +
            "mbols.Assembly\' failed");
}

/// <summary>
///A test for OnDeserializedMethod
///</summary>
[TestMethod()]
public void OnDeserializedMethodTest()
{
Account target = new Account(); // TODO: Initialize to an appropriate value
StreamingContext context = new StreamingContext(); // TODO: Initialize to an appropriate value
    target.OnDeserializedMethod(context);
    Assert.Inconclusive("A method that does not return a value cannot be verified.");
}

/// <summary>
///A test for OnDeserializingMethod
///</summary>
[TestMethod()]
public void OnDeserializingMethodTest()
{
Account target = new Account(); // TODO: Initialize to an appropriate value
StreamingContext context = new StreamingContext(); // TODO: Initialize to an appropriate value
    target.OnDeserializingMethod(context);
    Assert.Inconclusive("A method that does not return a value cannot be verified.");
}

/// <summary>
///A test for OnNavigationPropertyChanged
///</summary>
[TestMethod()]
[DeploymentItem("MoneyManagerNET.DAL.Repository.EF4.dll")]
public void OnNavigationPropertyChangedTest()
{
    // Creation of the private accessor for 'Microsoft.VisualStudio.TestTools.TypesAndSymbols.Assembly' failed
    Assert.Inconclusive("Creation of the private accessor for \'Microsoft.VisualStudio.TestTools.TypesAndSy" +
            "mbols.Assembly\' failed");
}

/// <summary>
///A test for OnPropertyChanged
///</summary>
[TestMethod()]
[DeploymentItem("MoneyManagerNET.DAL.Repository.EF4.dll")]
public void OnPropertyChangedTest()
{
    // Creation of the private accessor for 'Microsoft.VisualStudio.TestTools.TypesAndSymbols.Assembly' failed
    Assert.Inconclusive("Creation of the private accessor for \'Microsoft.VisualStudio.TestTools.TypesAndSy" +
            "mbols.Assembly\' failed");
}

/// <summary>
///A test for Balance
///</summary>
[TestMethod()]
public void BalanceTest()
{
Account target = new Account(); // TODO: Initialize to an appropriate value
Decimal expected = new Decimal(); // TODO: Initialize to an appropriate value
    Decimal actual;
    target.Balance = expected;
    actual = target.Balance;
    Assert.AreEqual(expected, actual);
    Assert.Inconclusive("Verify the correctness of this test method.");
}

/// <summary>
///A test for ChangeTracker
///</summary>
[TestMethod()]
public void ChangeTrackerTest()
{
Account target = new Account(); // TODO: Initialize to an appropriate value
ObjectChangeTracker expected = null; // TODO: Initialize to an appropriate value
    ObjectChangeTracker actual;
    target.ChangeTracker = expected;
    actual = target.ChangeTracker;
    Assert.AreEqual(expected, actual);
    Assert.Inconclusive("Verify the correctness of this test method.");
}

/// <summary>
///A test for Currency
///</summary>
[TestMethod()]
public void CurrencyTest()
{
Account target = new Account(); // TODO: Initialize to an appropriate value
Currency expected = null; // TODO: Initialize to an appropriate value
    Currency actual;
    target.Currency = expected;
    actual = target.Currency;
    Assert.AreEqual(expected, actual);
    Assert.Inconclusive("Verify the correctness of this test method.");
}

/// <summary>
///A test for CurrencyId
///</summary>
[TestMethod()]
public void CurrencyIdTest()
{
Account target = new Account(); // TODO: Initialize to an appropriate value
string expected = string.Empty; // TODO: Initialize to an appropriate value
    string actual;
    target.CurrencyId = expected;
    actual = target.CurrencyId;
    Assert.AreEqual(expected, actual);
    Assert.Inconclusive("Verify the correctness of this test method.");
}

/// <summary>
///A test for Id
///</summary>
[TestMethod()]
public void IdTest()
{
Account target = new Account(); // TODO: Initialize to an appropriate value
int expected = 0; // TODO: Initialize to an appropriate value
    int actual;
    target.Id = expected;
    actual = target.Id;
    Assert.AreEqual(expected, actual);
    Assert.Inconclusive("Verify the correctness of this test method.");
}

/// <summary>
///A test for IsDeserializing
///</summary>
[TestMethod()]
[DeploymentItem("MoneyManagerNET.DAL.Repository.EF4.dll")]
public void IsDeserializingTest()
{
    // Creation of the private accessor for 'Microsoft.VisualStudio.TestTools.TypesAndSymbols.Assembly' failed
    Assert.Inconclusive("Creation of the private accessor for \'Microsoft.VisualStudio.TestTools.TypesAndSy" +
            "mbols.Assembly\' failed");
}

/// <summary>
///A test for MoneyManagerNET.Model.IAccount.Currency
///</summary>
[TestMethod()]
[DeploymentItem("MoneyManagerNET.DAL.Repository.EF4.dll")]
public void CurrencyTest1()
{
IAccount target = new Account(); // TODO: Initialize to an appropriate value
ICurrency expected = null; // TODO: Initialize to an appropriate value
    ICurrency actual;
    target.Currency = expected;
    actual = target.Currency;
    Assert.AreEqual(expected, actual);
    Assert.Inconclusive("Verify the correctness of this test method.");
}

/// <summary>
///A test for Name
///</summary>
[TestMethod()]
public void NameTest()
{
Account target = new Account(); // TODO: Initialize to an appropriate value
string expected = string.Empty; // TODO: Initialize to an appropriate value
    string actual;
    target.Name = expected;
    actual = target.Name;
    Assert.AreEqual(expected, actual);
    Assert.Inconclusive("Verify the correctness of this test method.");
}

/// <summary>
///A test for Notes
///</summary>
[TestMethod()]
public void NotesTest()
{
Account target = new Account(); // TODO: Initialize to an appropriate value
string expected = string.Empty; // TODO: Initialize to an appropriate value
    string actual;
    target.Notes = expected;
    actual = target.Notes;
    Assert.AreEqual(expected, actual);
    Assert.Inconclusive("Verify the correctness of this test method.");
}

/// <summary>
///A test for Status
///</summary>
[TestMethod()]
public void StatusTest()
{
Account target = new Account(); // TODO: Initialize to an appropriate value
bool expected = false; // TODO: Initialize to an appropriate value
    bool actual;
    target.Status = expected;
    actual = target.Status;
    Assert.AreEqual(expected, actual);
    Assert.Inconclusive("Verify the correctness of this test method.");
}
    }
}
